home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 3
/
Gold Medal Software - Volume 3 (Gold Medal) (1994).iso
/
print
/
lj4utl13.arj
/
LJ4.DOC
< prev
next >
Wrap
Text File
|
1994-03-18
|
17KB
|
516 lines
THE LJ4 UTILITY
─────────────────
Version 1.3
Copyright (c) 1993, 1994 by TASsoft, All Rights Reserved
Written by Tim Tschirner and Christoph Sundergeld
Thank you for downloading and trying The LJ4 Utility! Feel free to
pass a copy to all your friends and upload it to a BBS near you.
──────────
Contents
──────────
This archive should contain these files:
LJ4.EXE - The LJ4 Utility (International Version)
LJ4.DOC - English LJ4 Utility documentation
LJ4.REG - International registration form for The LJ4 Utility
LJ4.REV - English LJ4 Utility Revision History
LJ4_D.EXE - The LJ4 Utility (German Version)
LJ4_D.DOC - German LJ4 Utility documentation
LJ4_D.REG - German registration form for The LJ4 Utility
LJ4_D.REV - German LJ4 Utility Revision History
This documentation contains a description of The LJ4 Utility, a
complete reference of all valid commands and values, tips on use of LJ4
in Batch files, notes on the registration process and a legal
disclaimer. Please make sure you read the disclaimer!
─────────────
Description
─────────────
The LJ4 Utility allows you to quickly change the settings of your
LaserJet 4 family printer. Now you can change for example your
printer's papersize, the default typeface or EconoMode setting just by
typing LJ4 and the corresponding command at the DOS prompt. This
minimizes the time needed for changing your printer's settings because
you don't have to start the Hewlett-Packard remote control panel or
walk to your printer to do so.
All you need to use The LJ4 Utility is a PC and a Hewlett-Packard
LaserJet 4 family printer connected to it. There are no further
hardware and software requirements.
──────────────
Installation
──────────────
There is no installation procedure as such, just copy LJ4.EXE and
the appropriate documentation into any directory on your hard disk
that is in the DOS search path. You way want to copy it to your
EXPLORER or DOS directory.
───────────────────────
Using The LJ4 Utility
───────────────────────
Using LJ4 is quite easy. If you want to change a setting, just pass
the command and the value to change on to LJ4. The complete syntax is
as follows:
LJ4 Command Value [Port]
Command is a valid command, which must have at least three letters.
Value is a legal value for the specified command.
Port specifies the port your printer is connected to. Valid
options are LPT1, LPT2 or LPT3 with LPT1 being the default.
This parameter is optional and you don't have to use it if
your printer is connected to LPT1.
To get an overview on all valid commands and values enter LJ4 -? at
the DOS command prompt.
Here's a complete list of all valid commands with their legal values.
Please note that the letters in brackets are optional and you don't
have to enter them. Also, you don't have to enter the commands and
values in capitals.
──────────────────────────────────────
Complete Command and Value Reference
──────────────────────────────────────
RESE[T]
This command resets all the printer settings to the factory defaults.
There is no value for this command.
EJE[CT]
This command empties the printer buffer. If there is some data in
the buffer, it will be printed and the page will be ejected. If the
buffer is empty, nothing will happen.
This is very useful if you send something to the printer and it is
not printed right away.
There is no value for this command.
SYM[SET]
This command changes the Symbol Set. Currently the following values
are supported:
───────────────────────────────────┬─────────────────────────────────
DESKTOP: DeskTop │ PC8DN: PC-8 Danish/Norwegian
ISO4: ISO 4 English (UK) │ PC850: PC-850 Multilingual
ISO6: ISO 6 ASCII │ PC852: PC-852 Latin 2
ISO11: ISO 11 Swedish for Names │ PC8TK: PC-Turkish
ISO15: ISO 15 Italian │ PIFONT: Pi Font
ISO17: ISO 17 Spanish │ PSMATH: PS Math
ISO21: ISO 21 German │ PSTEXT: PS Text
ISO60: ISO 60 Norwegian V1 │ ROMAN8: Roman-8
ISO69: ISO 69 French │ VNINTL: Ventura International
ISOL1: ISO 8859/1 Latin 1 │ VNMATH: Ventura Math
ISOL2: ISO 8859/2 Latin 2 │ VNUS: Ventura US
ISOL5: ISO 8859/5 Latin 5 │ WIN30: Windows 3.0 Latin 1
LEGAL: Legal │ WINL1: Windows 3.1 Latin 1
MATH8: Math-8 │ WINL2: Windows 3.1 Latin 2
MSPUBL: Microsoft Publishing │ WINL5: Windows 3.1 Latin 5
PC8: PC-8 (Code Page 437) │
FON[TNUMBER]
This command changes the Typeface. Currently legal values range
from 0 to 70.
This is the relation table for the LaserJet 4L:
Fontnumber │ Typeface
──────────────────┼────────────────────────────────────────────
0, 1, 2, 3 │ Courier, Bd, It, Bd It
4, 5, 6 │ Letter Gothic, Bd, It
7, 8, 9, 10 │ CG Times, Bd, It, Bd It
11 │ Coronet
12, 13, 14, 15 │ Univers Md, Bd, Md It, Bd It
16, 17, 18, 19 │ Univers Md Cd, Bd Cd, Md Cd It, Bd Cd It
20, 21, 22 │ Antique Olive, Bd, It
23, 24 │ Albertus Md, XBd
25 │ Wingdings
This is the relation table for the LaserJets 4 and 4M:
Fontnumber │ Typeface
──────────────────┼────────────────────────────────────────────
0 │ Courier
1, 2, 3, 4 │ CG Times, Bd, It, Bd It
5, 6, 7, 8 │ CG Omega, Bd, It, Bd It
9 │ Coronet
10 │ Clarendon Cd
11, 12, 13, 14 │ Univers Md, Bd, Md It, Bd It
15, 16, 17, 18 │ Univers Md Cd, Bd Cd, Md Cd It, Bd Cd It
19, 20, 21 │ Antique Olive, Bd, It
22, 23, 24, 25 │ Garamond Antiqua, Bd, It, Bd It
26 │ Marigold
27, 28 │ Albertus Md, XBd
29, 30, 31, 32 │ Arial, Bd, It, Bd It
33, 34, 35, 36 │ Times New, Bd, It, Bd It
37 │ Symbol
38 │ Wingdings
39, 40, 41 │ Courier Bold, It, Bd It
42, 43, 44 │ Letter Gothic, Bd, It
45 │ Line Printer (10U)
46 │ Line Printer (8U)
47 │ Line Printer (0N)
48 │ Line Printer (11U)
49 │ Line Printer (12U)
50 │ Line Printer (1U)
This is the relation table for the LaserJet 4P:
Fontnumber │ Typeface
──────────────────┼────────────────────────────────────────────
0 │ Courier
1 │ Symbol
2 │ Wingdings
3, 4, 5, 6 │ CG Univers, Bd, It, Bd It
7, 8, 9, 10 │ CG Omega Bd, It, Bd It
11 │ Coronet It
12 │ Clarendon Cd Bd
13, 14, 15, 16 │ Univers, Bd, It, Bd It
17, 18, 19, 20 │ Univers Cd, Bd Cd, Cd It, Bd Cd It
21, 22, 23 │ Antique Olive Bd, It
24, 25, 26, 27 │ Garamond, Bd, It, Bd It
28 │ Marigold
29, 30 │ Albertus, XBd
31, 32, 33, 34 │ Arial, Bd, It, Bd It
35, 36, 37, 38 │ Times New, Bd, It, Bd It
39, 40, 41 │ Courier Bd, It, Bd It
42, 43, 44 │ Letter Gothic, Bd, It
45 │ Line Printer (ISO 8859/2 Latin 2)
46 │ Line Printer (ISO 8859/9 Latin 5)
47 │ Line Printer (Roman-8)
48 │ Line Printer (ISO 8859/1 Latin 1)
49 │ Line Printer (PC-8)
50 │ Line Printer (PC-8 Danish/Norwegian)
51 │ Line Printer (PC-850 Multilingual)
52 │ Line Printer (Legal)
If your printer is not listed, you can get the relation table by
consulting a self-test page for assistance.
You get the font numbers by numbering all available fonts, starting
with zero.
(Note: Since we don't have self-test pages from all supported
printers, we would greatly appreciate any additional relation
tables.)
PIT[CH]
This command changes the pitch size of non-proportional fonts like
Courier and Letter Gothic.
Legal values range from 0.44 to 99.99 and may depend on the selected
font.
PTS[IZE]
This command changes the point size of proportional fonts like CG
Times, Coronet and Univers.
Legal values range from 0.10 to 999.75 and may depend on the selected
font.
FOR[MLINES]
This command changes the number of lines per page.
Legal values are from 5 to 128.
PAP[ER]
This command changes the paper size.
Currently supported values are LETTER, LEGAL, EXECUTIVE, COM10,
B5, A4, C5, DL and MONARCH.
ORI[ENTATION]
This command changes the printing orientation.
Legal values are PORTRAIT and LANDSCAPE.
COP[IES]
This command sets the number of copies.
Legal values range from 1 to 999.
MAN[UALFEED]
This command lets you switch the manual feed on and off.
Legal values are, of course, ON and OFF.
AUT[OCONT]
This command turns the Auto Continue feature on and off.
As above, the legal values are ON and OFF.
RET
This command changes the Resolution Enhancement Technology (REt)
setting.
Legal values are OFF, LIGHT, MEDIUM and DARK,
PAG[EPROTECT]
This command changes the Page Protect setting.
Legal values are ON, OFF and AUTO.
IMA[GEADAPT]
This command lets you change the Image Adapt setting.
Legal values are ON, OFF and AUTO.
LAN[GUAGE]
This command lets you switch the Printer Language.
Legal values are PCL, PJL, POSTSCRIPT and HPGL.
FUN[CTION]
This command changes the Function Mode setting.
When the function mode is turned on, all commands that are sent
to the printer will not be executed. When you turn it off again,
the commands that have been sent before will be shown exactly as
the printer receives it.
Legal values for this command are ON and OFF.
MES[SAGE]
This command displays a Message on the printer display.
The message can be up to 16 characters long, and blanks are
not supported yet.
DEN[SITY] (not supported by 4Si & 4 SiMX)
This command changes the density.
Legal values range from 1 to 5.
RES[OLUTION] (not supported by 4L & 4ML)
This command changes the resolution.
The legal values are 300 and 600.
ECO[NOMODE] (only supported by 4L, 4ML, 4P & 4MP)
This command lets you turn the EconoMode on and off.
Legal values are, guess what, ON and OFF.
JOB[OFFSET] (only supported by 4Si & 4SiMX)
This command turns the Job Offset on or off.
Legal values are, once again, ON and OFF.
OUT[BIN] (only supported by 4Si & 4SiMX)
This command lets you choose the output bin.
Legal values are UPPER and LOWER.
DUP[LEX] (only supported by 4Si & 4SiMX)
This command lets you turn the Duplex Printing on or off.
Legal values are, what else, ON and OFF.
────────────────────
Use In Batch Files
────────────────────
You can easily create your own personal configuration file for your
LaserJet 4 printer by using a batch file. If you're not familiar with
batch files, consult your DOS manual for more information.
Use an ASCII Editor like EDIT.COM from MS-DOS to create a new file
and name it MYCONFIG.BAT. Then simply write the necessary commands
in it. That's it!
If you for example have a LaserJet 4L connected to LPT2 and would like
to have the PC-8 (Code Page 437) as the Symbol Set with 70 Lines per
page and the EconoMode turned On by default, the batch file would look
like this:
@ECHO OFF
LJ4 SYM PC8 LPT2
LJ4 FOR 70 LPT2
LJ4 ECO ON LPT2
If you would like to have your default configuration restored, simply
enter MYCONFIG at the DOS prompt.
But it's not limited to this. With the help of the Errorlevel command
you can check if an error occurred while sending the command to the
printer or if anything was sent okay.
The LJ4 Utility provides the following Errorlevels:
Errorlevel │ State
──────────────┼────────────────────────────────────────────────
0 │ Command was successfully sent to the printer
1 │ Error: Printer is out of paper
2 │ Error: Printer is offline
3 │ Error: Printer is busy
4 │ Error: A critical or unknown error occurred
Imagine you would like to use the above batch file but want to stop
immediately if an error occurred while sending the command to the
printer. Then the file would look like this:
@ECHO OFF
LJ4 SYM PC8 LPT2
IF ERRORLEVEL 4 GOTO ERROR
IF ERRORLEVEL 3 GOTO ERROR
IF ERRORLEVEL 2 GOTO ERROR
IF ERRORLEVEL 1 GOTO ERROR
LJ4 FOR 70 LPT2
IF ERRORLEVEL 4 GOTO ERROR
IF ERRORLEVEL 3 GOTO ERROR
IF ERRORLEVEL 2 GOTO ERROR
IF ERRORLEVEL 1 GOTO ERROR
LJ4 ECO ON LPT2
IF ERRORLEVEL 4 GOTO ERROR
IF ERRORLEVEL 3 GOTO ERROR
IF ERRORLEVEL 2 GOTO ERROR
IF ERRORLEVEL 1 GOTO ERROR
ECHO.
ECHO Configuration successfully sent to the printer!
GOTO END
:ERROR
ECHO.
ECHO An error occurred while sending the configuration to the printer!
:END
If you should not be familiar with the Errorlevel command, please
consult your DOS manual for more assistance.
───────────────────────────────────
Notes On The Registration Process
───────────────────────────────────
The LJ4 Utility is released as Shareware. This means that you may
use it for two weeks, but after that period you must either register or
delete it. When you register, you will receive your Personal
Registration Code (PRC) which allows you to turn your Shareware version
into a registered version of The LJ4 Utility that does not contain the
randomly appearing registration reminder.
Once you are a registered customer, you will NEVER see this
registration reminder again! Because with your PRC you can unlock not
only this version but ALL future versions of The LJ4 Utility.
The registration fee is US$ 10 if you send cash or US$ 13 if you prefer
sending a check (this is to cover the cashing fee).
Please make sure that if you send a check you make it payable to
either Tim Tschirner or Christoph Sundergeld but NOT to TASsoft.
To register, print out the file LJ4.REG, fill it out, put it together
with the US$ 10 or the check into an envelope and send it back to us
at this address:
TASsoft
Friedrich-Ebert-Str. 13
33602 Bielefeld
Germany
As soon as your order reaches us, we will mail you your PRC (Personal
Registration Code).
If you have an E-mail address, we can also send it to you via E-mail.
Caution: Don't use an Execompressor like PKLite on The LJ4 Utility,
because you won't be able to turn the Shareware Version into
the registered version afterwards.
Even if you don't want to register your copy of LJ4, we would really
like to hear your comments on The LJ4 Utility!
If you find a bug or have any comments, questions or problems, you can
contact us at the following Internet E-mail addresses:
1) Tim Tschirner
ittschir@techfak.uni-bielefeld.de
2) Christoph Sundergeld
icsunder@techfak.uni-bielefeld.de
──────────────────
Legal Disclaimer
──────────────────
This package (consisting of The LJ4 Utility and associated
documentation) is Copyright (c) 1993, 1994 by TASsoft. The software
and the documentation were written by Tim Tschirner and Christoph
Sundergeld (further referred to as 'The Authors').
All rights reserved. It is provided 'as is' without representation or
warranty of any kind, either express or implied, including without
limitation, any representations or endorsements regarding the use of,
the results of, or performance of; its appropriateness, accuracy,
reliability, or currentness. The entire risk as to the use of this
package is assumed by the user. In no event will the authors or
TASsoft be liable for any damages, direct, indirect, incidental or
consequential, resulting from any defect in the package, even if the
authors or TASsoft have been advised of the possibility of such
damages. Any and all use of this package, for any purpose, with no
regard to the legality of such use or purpose, is the complete and sole
responsibility of the user. All terms are subject to change without
notice. This disclaimer shall supersede any verbal or written
statement to the contrary. Should any part or parts of this disclaimer
be deemed unlawful or unapplicable, the remainder shall continue to
apply. If you do not accept these terms, you must cease using this
package immediately.
LaserJet and Hewlett-Packard are registered trademarks of the
Hewlett-Packard Company.
MS-DOS is a registered trademark of Microsoft Corporation.
Univers is a registered trademark of the Linotype AG.
PKLite is a registered trademark of PKWare.
All other mentioned programs and brand names are trademarks and/or
registered trademarks of their respective owners and are hereby
acknowledged.